package com.itedge.solutionmanager.taskdata.impl.customer;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;
import javax.validation.constraints.Size;

import com.itedge.infrastructure.taskdata.impl.AbstractTaskDataEntity;

@Entity
@Table(name="EDIT_CUST_TASK_DATA")
public class EditCustomerTaskData extends AbstractTaskDataEntity {
	
	@Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private Long id;	

	@Version
    @Column(name = "version")
    private Integer version;
	
	@Column(name ="NEW_DESCRIPTION")
	@Size(max = 4000)
	private String newDescription;

	@Column(name ="OLD_DESCRIPTION")
	@Size(max = 4000)
	private String oldDescription;	
	
    @Size(max = 255)
    @Column(name="NEW_NAME")
    private String newName;
    
    @Size(max = 255)
    @Column(name="OLD_NAME")
    private String oldName;
    
    @Size(max = 255)
    @Column(name="NEW_ICO")
    private String newIco;  
    
    @Size(max = 255)
    @Column(name="OLD_ICO")
    private String oldIco; 
    
    @Size(max = 255)
    @Column(name="NEW_DIC")
    private String newDic;
    
    @Size(max = 255)
    @Column(name="OLD_DIC")
    private String oldDic; 
    
    @Size(max = 255)
    @Column(name="NEW_ICDPH")
    private String newIcdph;
    
    @Size(max = 255)
    @Column(name="OLD_ICDPH")
    private String oldIcdph; 

	public String getNewDescription() {
		return newDescription;
	}

	public void setNewDescription(String newDescription) {
		this.newDescription = newDescription;
	}

	public String getOldDescription() {
		return oldDescription;
	}

	public void setOldDescription(String oldDescription) {
		this.oldDescription = oldDescription;
	}

	public String getNewName() {
		return newName;
	}

	public void setNewName(String newName) {
		this.newName = newName;
	}

	public String getOldName() {
		return oldName;
	}

	public void setOldName(String oldName) {
		this.oldName = oldName;
	}

	public String getNewIco() {
		return newIco;
	}

	public void setNewIco(String newIco) {
		this.newIco = newIco;
	}

	public String getOldIco() {
		return oldIco;
	}

	public void setOldIco(String oldIco) {
		this.oldIco = oldIco;
	}

	public String getNewDic() {
		return newDic;
	}

	public void setNewDic(String newDic) {
		this.newDic = newDic;
	}

	public String getOldDic() {
		return oldDic;
	}

	public void setOldDic(String oldDic) {
		this.oldDic = oldDic;
	}

	public String getNewIcdph() {
		return newIcdph;
	}

	public void setNewIcdph(String newIcdph) {
		this.newIcdph = newIcdph;
	}

	public String getOldIcdph() {
		return oldIcdph;
	}

	public void setOldIcdph(String oldIcdph) {
		this.oldIcdph = oldIcdph;
	}

	@Override
	public Long getId() {
        return this.id;
    }

	public void setId(Long id) {
        this.id = id;
    }	

	@Override
	public Integer getVersion() {
        return this.version;
    }

	@Override
	public void setVersion(Integer version) {
        this.version = version;
    }
}